html{
    background: url('/images/bg.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: left;
}

#view , #rank{
    text-align: center;
    width: 80%;
    margin: 0 auto;
}


.left-view{
    width: 70%;
    float: left;
}

.right-view  {
    width: 30%;
    float: right;
}

.title {
    width: 100%;
    height: 40px;
    text-align: center;
    font-size: 30px;
}

.top-item {
    width: 15%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-item img {
    width: 30px;
}

.remaining {
    margin-top: 20px;
}

.paused {
    margin-top: 5px;
}

.paused img {
    width: 25px;
}

.paused button {
    height: 40px;
    width: 6.5rem;
}

.restart {
    margin-left: 20px;
    height: 40px;
    width: 6.5rem;
}

.rank {
    display: flex;
    justify-content: center;
    align-items: center;
}

.begin {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.table {
    margin: 10px auto;
    padding: 10px;
    position: relative;
    background-color: rgba(128, 128, 128, 0.575);
    border-radius: 5px;
}

.row {
    display: flex;
    justify-content: center;
}

.item, .res-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-left: 2px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: white;
}

.item , .res-item{
    font-size: 40px;
}

.item::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.disabled::after{
    background-color: rgba(0, 0, 0, 0.5);
}

.item img, .res-item img {
    width: 45px;
    vertical-align: middle;
}

.res-item div {
    width: 45px;
    vertical-align: middle;
}

.abs {
    position: absolute;
    left: 21px;
    top : 10px;
}

.res-item-border {
    background-color: transparent;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: none;
}

.display {
    display: none;
}

.res {
    height: 50px;
    background-color: rgb(252, 197, 125);
    width: 420px;
    margin: 0 auto;
    border-radius: 5px;
    padding: 10px 0;
    position: relative;
}

.res-row {
    width: 90%;
    display: flex;
    justify-content: baseline;
    margin: 0 auto;
}

.statistics {
    width: 80%;
    margin: 20px auto;
    flex-shrink: 0;
    text-align: center;
    line-height: 50px;
    border: 1px solid black;
    border-radius: 5px;
    background-color: white;
}

.form-item label {
    display: inline-block;
    width: 100px;
    text-align: right;
}